package com.gin.supermarket_inventory_system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;

@SpringBootApplication(scanBasePackages = {"com.gin.*"})
@MapperScan(basePackages = {"com.gin.*.dao", "com.gin.*.*.dao"})
@EntityScan(basePackages = {"com.gin.*.entity", "com.gin.*.*.entity"})
public class SupermarketInventorySystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(SupermarketInventorySystemApplication.class, args);
    }

}
